extern struct _debug {
  short from_script;  // app.debug = true
  short incoming;     // app.debug_incoming = true;
  short outgoing;     // app.debug_outgoing = true;
  short system;       // app.debug_system = true;
} debug;

void debug_out ( char* fmt, ... );
